package com.example.yunJie.digitalSentry.service;

import com.example.yunJie.digitalSentry.entity.DepartmentEntity;

import java.util.List;

public interface DepartmentService {
    int insert(DepartmentEntity departmentEntity);
    int update(DepartmentEntity departmentEntity);
    int deleteById(String id);
    int deleteIdList(List<Integer> idList);
    DepartmentEntity findId(String id);
    List<DepartmentEntity> findAll(DepartmentEntity departmentEntity);
}
